package com.inossem.warehousestorage_inossem.bean.inventory.chuangyou;

import com.inossem.warehousestorage_inossem.bean.common.BeanNew;
import com.inossem.warehousestorage_inossem.bean.outStorage.ItemListBean;

import java.util.List;

/**
 * TODO
 *
 * @author 詹建宇
 * @time on 2018/4/2 9:54
 * @email jianyu.zhan@inossem.com
 */
public class InventoryMatsBean extends BeanNew {

    /**
     * body : {"item_list":[{"item_id":"13433","mat_id":"123","mat_code":"60161758","mat_name":"闸阀/Z41H-40C/DN150/RF","batch":"1000010004","stock_qty":"65.000","stocktake_qty":"1.000","unit_id":"123","unit_name ":"件","spec_stock":"","spec_stock_desc":"","spec_stock_code":"","spec_stock_name":"","supplier_batch":"11111","supplier_code":"0020006275","supplier_name":"内蒙古双达机电设备有限公司","decimal_place":"0"}],"position_code":"01-10004","position_id":"123"}
     */

    private MatsBodyBean body;

    public MatsBodyBean getBody() {
        return body;
    }

    public void setBody(MatsBodyBean body) {
        this.body = body;
    }

    public static class MatsBodyBean {
        /**
         * item_list : [{"item_id":"13433","mat_id":"123","mat_code":"60161758","mat_name":"闸阀/Z41H-40C/DN150/RF","batch":"1000010004","stock_qty":"65.000","stocktake_qty":"1.000","unit_id":"123","unit_name ":"件","spec_stock":"","spec_stock_desc":"","spec_stock_code":"","spec_stock_name":"","supplier_batch":"11111","supplier_code":"0020006275","supplier_name":"内蒙古双达机电设备有限公司","decimal_place":"0"}]
         * position_code : 01-10004
         * position_id : 123
         */

        private String position_code;
        private String position_id;
        private String stocktake_type;//1-明盘，2-盲盘
        private String location_id;//庫存地點ID
        private List<ItemListBean> item_list;

        public String getLocation_id() {
            return location_id;
        }

        public void setLocation_id(String location_id) {
            this.location_id = location_id;
        }

        public String getStocktake_type() {
            return stocktake_type;
        }

        public void setStocktake_type(String stocktake_type) {
            this.stocktake_type = stocktake_type;
        }

        public String getPosition_code() {
            return position_code;
        }

        public void setPosition_code(String position_code) {
            this.position_code = position_code;
        }

        public String getPosition_id() {
            return position_id;
        }

        public void setPosition_id(String position_id) {
            this.position_id = position_id;
        }

        public List<ItemListBean> getItem_list() {
            return item_list;
        }

        public void setItem_list(List<ItemListBean> item_list) {
            this.item_list = item_list;
        }
    }
}
